package com.hiinfo.mvpdemo.weather;

import com.hiinfo.mvpdemo.base.bean.BaseObjectBean;
import com.hiinfo.mvpdemo.net.RetrofitClient;

import io.reactivex.Flowable;

/**
 * @author : lifei
 * 创建时间： 19-6-28
 * 更改时间： 19-6-28
 * Email : allen.lee723@qq.com
 * @version :
 * Description：
 */
public class WeatherModel implements WeatherContract.Model {

    @Override
    public Flowable<BaseObjectBean<WeatherInfo>> queryWeather() {
        return RetrofitClient.getInstance().getApi().queryWeather();
    }
}